package com.iflytek.edu.entity;

import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

/**
 * @author Jack Q on 2017/2/5.
 */
@Table("t_user")
public class User implements Serializable {

    @Name
    @Prev(els=@EL("uuid(32)")) // 可以是 uuid() uuid(32)
    private String id;

    @Column
    private String username;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
